package com.jz.netthings.application.sample.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzf
 * @since 2019-03-12
 */
@Data

@JsonIgnoreProperties(ignoreUnknown = true)
public class PlasmaSamples implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "recodeNo" ,type = IdType.AUTO)
    private Long recodeNo;
    /**
     * 献浆人
     */
    @TableField("providerNo")
    private String providerNo;
    /**
     * 采集地点
     */
    @TableField("gatheringPlace")
    private Integer gatheringPlace;
    /**
     * 小样号
     */
    @TableField("sampleNo")
    private String sampleNo;
    /**
     * 姓名
     */
    private String name;
    /**
     * 小样类型
     */
    @TableField("sampleType")
    private Integer sampleType;
    /**
     * 认证方式
     */
    @TableField("authMethod")
    private Integer authMethod;
    /**
     * 创建护士
     */
    @TableField("createNurse")
    private String createNurse;


    @TableField(exist = false)
    private String createNurseName;
    /**
     * 采集时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("gatheringTime")
    private Date gatheringTime;
    /**
     * 记录时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("recodeTime")
    private Date recodeTime;
    /**
     * 小样采集照片
     */
    @TableField("samplePhoto")
    private String  samplePhoto;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 身份证
     */
    @TableField("idNo")
    private String idNo;
    /**
     * 身份证地址
     */
    @TableField("idAddress")
    private String idAddress;
    /**
     * 地址
     */
    private String address;
    /**
     * 电话
     */
    private String phone;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 阈值
     */
    private String threshold;
    /**
     * 记录状态
     */
    @TableField("recodeStatus")
    private Integer recodeStatus;

    @TableField(exist = false)
    private String recodeStatusName;

    /**
     * 蛋白含量
     */
    @TableField("proteinLevel")
    private String proteinLevel;

    @TableField(exist = false)
    private String proteinLevelName;


    /**
     * 血清蛋白含量
     */
    @TableField("SerumProteinLevel")
    private String SerumProteinLevel;
    /**
     * 血红蛋白含量
     */
    @TableField("HemoglobinLevel")
    private String HemoglobinLevel;

    @TableField(exist = false)
    private String HemoglobinLevelName;

    /**
     * 化检开始时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("inspectionStartTime")
    private Date inspectionStartTime;
    /**
     * 化检结束时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("inspectionEndTime")
    private Date inspectionEndTime;
    /**
     * 记录开始时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("recodeStartTime")
    private Date recodeStartTime;
    /**
     * 记录结束时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("recodeEndTime")
    private Date recodeEndTime;
    /**
     * 化检记录人
     */
    @TableField("inspectionRecodePerson")
    private String inspectionRecodePerson;


    @TableField(exist = false)
    private String inspectionRecodePersonName;

    /**
     * 化检结果
     */
    @TableField("inspectionResult")
    private Integer inspectionResult;

    @TableField(exist = false)
    private String inspectionResultName;


    /**
     * HBsAg
     */
    @TableField("HBsAg")
    private String HBsAg;

    @TableField(exist = false)
    private String HBsAgName;


    /**
     * 全血比重
     */
    @TableField("wholeBloodLevel")
    private String wholeBloodLevel;


    @TableField(exist = false)
    private String wholeBloodLevelName;



    /**
     * 抗-HCV
     */
    private String hcv;
    @TableField(exist = false)
    private String hcvName;
    /**
     * 抗-HIV
     */
    private String hiv;

    @TableField(exist = false)
    private String hivName;
    /**
     * 梅毒
     */
    private String syphilis;
    @TableField(exist = false)
    private String syphilisName;

    @TableField("ALt")
    private String ALt;

    @TableField(exist = false)
    private String altName;
    /**
     * 血型
     */
    @TableField("bloodType")
    private String bloodType;

    @TableField(exist = false)
    private String bloodTypeName;
    /**
     * 化检备注
     */
    @TableField("inspectionRemark")
    private String inspectionRemark;
    /**
     * 化检状态   0 代办小样 1代办化检2已办小样3过期小样
     */
    @TableField("inspectionStatus")
    private Integer inspectionStatus;
//    液面上、下 ，对应 0,1
    @TableField("ym")
    private Integer ym;
    /**
     * 折射仪刻度值 等于 蛋白值得百分之十
     */
    private Float zsykdz;

    @TableField(exist = false)
    private String cardId;
    @TableField("registerNo")
    private String registerNo;

    @TableField("MODIFY_TIME")
    private String MODIFY_TIME;
    @TableField("SYNDATE")
    private String SYNDATE;
    @TableField("refuseType")
    private Integer refuseType;
    @TableField("refuseReason")
    private String refuseReason;
}
